<div class="MainContent">	
{if $say eq 'send'}
<h3 align=left>Support Form:</h3>
<p align=left>
	Message has been successfully sent. We will back to you in next 24
	hours. Thank you.<br> <br>
</p>
{else} 
	{if $say eq 'pay'}
			<div class="box1 Box1Style2"><span class="Box1Text">Notice</span></div>
			<div class="box2">
				<td class="box2" valign="top"> 
						<table width="85%" border="0" cellspacing="0" cellpadding="0" align="center">
							<tr>
								<td align="center"><h3>Pay Now!</h3></td>
							</tr>
							<tr>
								<td align="center">Your AD Request has been successfully sent.You can Pay Your AD Fee Now!</td>
							</tr>
							<tr>
								<td align="center">
									<b>You Have to Pay : <font color="#ff0000">${$fee} </font>.
									Please choose Payment Type</b>
								</td>
								<!--LR Pay start-->
							</tr>
							<tr>
								<td align="center">
								<!--<form method="GET" action="https://sci.libertyreserve.com"> -->
									<form method="GET" action="{$settings.site_url}/?a=lr_processing&say=success">
										<input type="hidden" name="lr_acc" value="{$settings.admin_lr_account}"  /> 
										<input type="hidden" name="lr_amnt" value="{$fee}" > 
										<input type="hidden" name="lr_currency" value="LRUSD" /> 
										<input type="hidden" name="lr_comments" value="AD From:{$ip}/{$email}" />
										<input type="hidden" name="lr_success_url" value="{$settings.site_url}/?a=lr_processing&say=success" /> 
										<input type="hidden" name="lr_success_url_method" value="POST" />  
										<!-- <input type="hidden" name="lr_fail_url" value="{$settings.site_url}/?a=lr_processing&say=notsuccess" /> --> 
										<input type="hidden" name="lr_fail_url" value="{$settings.site_url}/?a=lr_processing&say=success" /> 
										<input type="hidden" name="lr_fail_url_method" value="POST" /> 
										<input type="hidden" name="lr_status_url" value="{$settings.site_url}" /> 
										<br>
										
										<input type="hidden" name="a" value="lr_processing" />
										<input name="LibertyReserve" src="images/paywithLR.gif" onclick="submit"border="0" type="image">  
									</form>
								</td>
							</tr>
						</table>
					</td>
			</div>
	
			<!-- LR pay end-->
	{else}
		{literal}
			<script language=javascript>
					function checkform() {
					  if (document.mainform.name.value == '') {
					    alert("Please type your full name!");
					    document.mainform.name.focus();
					    return false;
					  }
					  if (document.mainform.email.value == '') {
					    alert("Please enter your e-mail address!");
					    document.mainform.email.focus();
					    return false;
					  }
					  if (document.mainform.message.value == '') {
					    alert("Please type your message!");
					    document.mainform.message.focus();
					    return false;
					  }
					  return true;
					}
				
			</script>
		{/literal}
		<form method=post name=mainform onsubmit="return checkform()">
			<input type=hidden name=a value=support> 
			<input type=hidden name=action	value=send>
			<div class="box1 Box1Style2"><span class="Box1Text">Support Form</span></div>
			<div class="box2">
				<table align="center" cellspacing=1 cellpadding=2 border="0">
					<tr align=left>
						<th>Your Name:</th>
						<td><input type="text" name="name" size=30 class=inpts></td>
					</tr>
					<tr align=left>
						<th>Your Email:</th>
						<td><input type="text" name="email" size=30 class=inpts></td>
					</tr>
					<tr align=left>
						<th align="right">Message:</th>
						<td><textarea name=message class=inpts cols=45 rows=4></textarea></td>	 
					</tr>
					<tr align=left>
						<td>&nbsp;</td>
						<td><input type=submit value="Send" class=sbmt></td>
					</tr>
				</table>
			</div>
		</form>
	{/if} 
{/if} 
</div>
